package com.tigase.utils;

/**
 * Created by qt2 on 2017/7/21.
 */
public class NumberUtil {

    public static int getInt(Object object){
        if(null==object){
            return 0;
        }else{
            return Integer.parseInt(object+"");
        }
    }
}
